{% load static wagtailuserbar %}

<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8" />
    <title>
        {% block title %}
            {% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}
        {% endblock %}

        {% block title_suffix %}
            {% with self.get_site.site_name as site_name %}
                {% if site_name %}- {{ site_name }}{% endif %}
            {% endwith %}
        {% endblock %}

    </title>

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="CMS演示站,开源cms,cms系统" />
    <meta name="description" content="简洁、安全、开源、实用，可运行在Linux、Windows、MacOSX、Solaris等各种平台上，专注为公司企业、个人站长快速建站提供解决方案。" />
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    {# Global stylesheets #}
    {% comment %} <link rel="stylesheet" type="text/css" href="{% static 'css/mysite.css' %}"> {% endcomment %}

    <link href="{% static 'chappie/css/dgy.base.css' %}" rel="stylesheet" type="text/css" />
    <link href="{% static 'chappie/css/dgy.grid.c.css' %}" rel="stylesheet" type="text/css" />
    <link href="{% static 'chappie/css/dgy.nav.c.css' %}" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="{% static 'chappie/css/iconfont.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'chappie/css/swiper.min.css' %}" />
    <script type="text/javascript" src="{% static 'chappie/js/jquery-2.1.4.min.js' %}"></script>
    <script type="text/javascript" src="{% static 'chappie/js/layer.js' %}"></script>
    <script type="text/javascript" src="{% static 'chappie/js/yzm-front.js' %}"></script>
    <script type="text/javascript" src="{% static 'chappie/js/swiper.min.js' %}"></script>

</head>


<body class="{% block body_class %}{% endblock %}">

    {% block header %}
        <header class="header">

            <div class="navGrid" id="navGrid">
                <div class="productGrid justify">
                    <div class="wrapper">
                        <a href="http://localhost:8000/admin/" class="topWrapper">
                            <img src="{% static 'chappie/picture/200614105955930.png' %}" class="logo" title="CHAPPIE-多骨鱼模板主题"
                                alt="CHAPPIE-多骨鱼模板主题">
                        </a>
                        <div class="minMenu layoutDisplay" id="switchMenu">
                            <i class="iconDgy more"></i>
                            <i class="iconDgy close"></i>
                        </div>
                    </div>

                    <div class="wrapper">
                        <div class="navWrapper">
                            <a href="http://localhost:8000">
                                <span class="navName">每天心情❤️</span>
                            </a>
                            <a href="http://localhost:8000/blog">
                                <span class="navName">快乐星球🌍</span>
                            </a>
                            <a href="#">
                                <span class="navName">没有没有</span>
                            </a>

                            <a href="http://localhost:8000/tbug/index">
                                <span class="navName">T-Bug</span>
                            </a>
                        </div>

                        <!-- 登录/注册 START -->
                        <div class="userHeaderWrapper">
                            <a href="https://chappie.duoguyu.com/member/index/login.html" rel="nofollow" target="_blank"
                                class="menuLogin">登录/注册</a>
                        </div>
                        <!-- 登录/注册 END -->

                    </div>

                </div>

                <script>
                    $(function () {
                        $('#switchMenu, #closeMenuBtn').click(function () {
                            $('#navGrid').toggleClass('on');
                        });
                    });
                </script>

            </div>

        </header>    
    {% endblock %}

    {% wagtailuserbar %}
    

    {% block content %}

    {% endblock %}

    {% block footer %}{% endblock %}


    {# Global javascript #}
    <script type="text/javascript" src="{% static 'js/mysite.js' %}"></script>


    {% block extra_js %}
    {# Override this in templates to add extra javascript #}



    {% endblock %}
</body>

</html>